import { Entity, PrimaryUuid, Code, ShopGoodId, Uuid, CreateDate, UpdateDate, MemberId, Openid } from "@sker/core";


@Entity({ name: 'wx_collection' })
export class WxCollection {

    @PrimaryUuid({
        primaryKeyConstraintName: "PK_WX_COLLECTION_ID"
    })
    id: string;

    @MemberId()
    member_id: string;

    @Openid()
    openid: string;

    @Code({ comment: '类型' })
    type: string;

    @Uuid({ comment: '类型对应ID card or good' })
    good_id: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}